package com.itheima.dao;

import com.itheima.domain.Role;

import java.util.List;

public interface RoleDao {

    List<Role> findAll();

    boolean save(Role role);

    List<Role> findRoleByUserId(long id);

    void delUserRoleRel(Long roleId);

    void del(Long roleId);
}
